TEMPLATE = app
CONFIG += console c++11
CONFIG -= app_bundle
CONFIG -= qt

SOURCES += \
    src/main.cpp \
    src/log.cpp \
    src/event/event.cpp \
    src/service/asyncservice.cpp \
    src/event/eventtransfer.cpp \
    src/event/eventprocessor.cpp \
    src/service/netservice.cpp \
    src/service/databaseservice.cpp \
    src/service/timerservice.cpp \
    src/server.cpp \
    src/event/timerevent.cpp \
    src/event/netevent.cpp \
    src/event/netcompleteevent.cpp \
    src/event/netreadcompleteevent.cpp \
    src/event/netwritecompleteevent.cpp \
    src/event/netconnectevent.cpp \
    src/event/netdisconnectevent.cpp \
    src/event/netserverstoppedevent.cpp \
    src/memorypool.cpp \
    src/event/quitevent.cpp \
    src/service/signalservice.cpp \
    src/service/tcpacceptor.cpp \
    src/service/tcpconnection.cpp \
    src/service/tcpconnectionfactory.cpp \
    src/event/eventfactory.cpp \
    src/service/dummywork.cpp \
    src/service/timerfactory.cpp

HEADERS += \
    src/global.h \
    src/log.h \
    src/platform.h \
    src/event/event.h \
    src/service/asyncservice.h \
    src/event/eventtransfer.h \
    src/event/eventprocessor.h \
    src/service/netservice.h \
    src/service/databaseservice.h \
    src/service/timerservice.h \
    src/server.h \
    src/event/timerevent.h \
    src/event/netevent.h \
    src/event/netcompleteevent.h \
    src/event/netreadcompleteevent.h \
    src/event/netwritecompleteevent.h \
    src/event/netconnectevent.h \
    src/event/netdisconnectevent.h \
    src/event/netserverstoppedevent.h \
    src/memorypool.h \
    src/event/quitevent.h \
    src/service/signalservice.h \
    src/service/tcpacceptor.h \
    src/service/tcpconnection.h \
    src/service/tcpconnectionfactory.h \
    src/event/eventfactory.h \
    src/service/dummywork.h \
    src/service/timerfactory.h

LIBS += \
    -lboost_system \
    -lboost_log \
    -lboost_log_setup \
    -lboost_thread \
    -lpthread
